{template 'member', 'header'}
<div id="memberArea">
<div class="layui-member-center">
  {template 'member', 'left'}
  <div class="layui-member-info">
    <div class="layui-member-content">
      <div class="layui-avatar"><a title="{L('modify').L('avatar')}" href="index.php?m=member&c=index&a=account_manage_avatar&t=1"><img src="{$avatar[90]}" onerror="this.src='{$phpsso_api_url}/statics/images/member/nophoto.gif'"></a></div>
      <p class="layui-msg">嗨，{if $memberinfo['nickname']} {$memberinfo['nickname']} {else} {$memberinfo['username']}{/if}({$memberinfo['email']})，欢迎你的到来！</p>
      <p class="layui-msg"><span>会员组：<em>{$grouplist[$memberinfo['groupid']]['name']}</em></span></p>
    </div>
	<div class="layui-member-group">
		<table class="layui-table">
			<tr>
				<th width="120">用户名</th>        
				<td>{$memberinfo['username']}</td>
			</tr>
			<tr>
				<th width="120">用户组</th>        
				<td>{$member_model[$memberinfo['modelid']]['name']}</td>
			</tr>
			<tr>
				<th width="120">注册邮箱</th>        
				<td>{$memberinfo['email']}</td>
			</tr>
			<tr>
				<th width="120">注册时间</th>        
				<td>{FORMAT::date($memberinfo['regdate'] ,1)}</td>
			</tr>
			<tr>
				<th width="120">最后登录时间</th>        
				<td>{FORMAT::date($memberinfo['lastdate'] ,1)}</td>
			</tr>
			<tr>
				<th width="120">注册IP</th>        
				<td>{$memberinfo['regip']}</td>
			</tr>
			<tr>
				<th width="120">最后登录IP</th>        
				<td>{$memberinfo['lastip']}</td>
			</tr>
			<!-- <tr>
				<th width="120">{L('mp')}：</th>        
				<td style="color:#ff6600;"><strong>{if $memberinfo['mobile']}{substr($memberinfo['mobile'],0,3)}****{substr($memberinfo['mobile'],-4)}{/if}</strong> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="button" value="更换手机" class="button" onclick="redirect('?m=member&c=index&a=account_change_mobile&t=1')"></td>
			</tr> -->
			{loop $member_modelinfo $k $v}
			<tr>
				<th width="120">{$k}：</th>        
				<td>{$v}</td>
			</tr>
			{/loop}
		</table>
	</div>
  </div>
</div>
{template 'member', 'footer'}